/** niushop */
import { defineStore } from 'pinia'

import { RouteRecordRaw } from 'vue-router'

interface App {
  route: RouteRecordRaw | object
  pageReturn: boolean
}

const useAppStore = defineStore('niushopapp', {
  state: (): App => {
    return {
      route: {},
      pageReturn: false
    }
  }
})

export default useAppStore
